package com.cxf.windex.entity;

import jnr.ffi.annotations.In;

import javax.persistence.*;

@Table(name = "city_info")
public class CityInfo {
    @Id
    private Long id;

    @Column(name = "parent_id")
    private Long parentId;

    @Column(name = "fetch_url")
    private String fetchUrl;

    @Column(name = "area_name")
    private String areaName;

    @Column(name = "area_code")
    private String areaCode;

    @Column(name = "area_level")
    private Integer areaLevel;

    private Integer status;
    @Column(name = "village_code")
    private String villageCode;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return parent_id
     */
    public Long getParentId() {
        return parentId;
    }

    /**
     * @param parentId
     */
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    /**
     * @return fetch_url
     */
    public String getFetchUrl() {
        return fetchUrl;
    }

    /**
     * @param fetchUrl
     */
    public void setFetchUrl(String fetchUrl) {
        this.fetchUrl = fetchUrl;
    }

    /**
     * @return area_name
     */
    public String getAreaName() {
        return areaName;
    }

    /**
     * @param areaName
     */
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    /**
     * @return area_code
     */
    public String getAreaCode() {
        return areaCode;
    }

    /**
     * @param areaCode
     */
    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    /**
     * @return area_level
     */
    public Integer getAreaLevel() {
        return areaLevel;
    }

    /**
     * @param areaLevel
     */
    public void setAreaLevel(Integer areaLevel) {
        this.areaLevel = areaLevel;
    }

    public String getVillageCode() {
        return villageCode;
    }

    public void setVillageCode(String villageCode) {
        this.villageCode = villageCode;
    }

    /**
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }
}